diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-15 16:37:45 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-15 16:37:45 +0700 |
| commit | 4a615aae5f29ed8c0ad3631a8510df57b80cae94 (patch) | |
| tree | a3dced877ba73e4cd5907076cbcfa2fe369bc33d /src/pages/shop/product/[slug].js | |
| parent | 2c58745807110ba234e1a9ec939457e641fff469 (diff) | |
feature checbox add to process in cart
Diffstat (limited to 'src/pages/shop/product/[slug].js')
| -rw-r--r-- | src/pages/shop/product/[slug].js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js index cabda175..9bb76fb6 100644 --- a/src/pages/shop/product/[slug].js +++ b/src/pages/shop/product/[slug].js @@ -140,7 +140,13 @@ export default function ProductDetail({ product }) { <div className="flex gap-x-2 mt-2"> <button className="btn-light w-full">+ Quotation</button> - <button className="btn-yellow w-full" onClick={addItemToCart} disabled={(product.lowest_price.price == 0 ? true : false)}>+ Keranjang</button> + <button + className="btn-yellow w-full" + onClick={addItemToCart} + disabled={(product.lowest_price.price == 0 ? true : false)} + > + + Keranjang + </button> </div> <div className="mt-10"> |
